Highcharts.setOptions(dark_comm);
$("#chart").highcharts({
    chart: {
        margin: [50, 0, 35, 60],
        renderTo: 'avgTime',
        type: 'spline',
        marginRight: 10
    },
    title: {
        text: '失败率、笔数走势图',
        style: {
            color: '#FFFFFF'
        },
        align: "center",
        /* marginTop :10*/
    },
    xAxis: {
        type: 'datetime',
        tickPixelInterval: 150
    },
    yAxis: [{
        //		      	  allowDecimals : false,                                                                
        title: '失败率',
        /* plotLines     : [{                                                       
		        	  value         : 0,                                                       
		      	 	}],*/
        labels: {
            format: '{value}%',
        },
        max: 100,
        tickInterval: 25,
        min: 0
    }, {
        //		    	 allowDecimals : false,                                                                
        title: '笔数',
        /*plotLines     : [{                                                       
			          value         : 0,                                                       
			          width         : 1                                                     
		      	 	}],*/
        min: 0,
        opposite: true
    }],
    tooltip: {
        xDateFormat: '%Y-%m-%d %H:%M',
        shared: true
    },
    legend: {
        align: 'right',
        verticalAlign: 'top',
        borderWidth: 0,
        y: 10,
        enabled: true
    },
    exporting: {
        enabled: false
    },
    marker: {
        enabled: false
    },
    series: create()
});